package com.sg.service.biz.calc.nb;

import cn.hutool.core.bean.BeanUtil;
import com.sg.dto.biz.calc.req.*;
import com.sg.dto.biz.calc.res.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

/**
 * @author ： 手工接入方法
 * @version 1.0
 * @since 2022/5/28 15:32
 */
@Service
public class NbDashboradStandardData {
    /**
     * code:receptionService
     * name:M4-约定 0
     * desc:undefined
     * gen by moon at 3/29/2024, 8:56:41 PM
     **/
    @Trace(operationName = "M4-约定 0")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementDashboardReceiveFieldRespDto implementDashboardReceiveField(ImplementDashboardReceiveFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementDashboardReceiveFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M4接收入参字段
     * desc:undefined
     * gen by moon at 3/30/2024, 1:06:30 AM
     **/
    @Trace(operationName = "M4接收入参字段")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementNineReceivingFieldRespDto implementNineReceivingField(ImplementNineReceivingFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementNineReceivingFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M4接收入参字段
     * desc:undefined
     * gen by moon at 3/31/2024, 2:09:19 AM
     **/
    @Trace(operationName = "M4接收入参字段")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementCountSecReceFieldRespDto implementCountSecReceField(ImplementCountSecReceFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementCountSecReceFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M4接收上一数据结果
     * desc:undefined
     * gen by moon at 3/31/2024, 2:10:52 AM
     **/
    @Trace(operationName = "M4接收上一数据结果")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public AddAcceptFieldRespDto addAcceptField(AddAcceptFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, AddAcceptFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M4-约定字段：父、中、子周期
     * desc:undefined
     * gen by moon at 6/22/2024, 2:49:26 AM
     **/
    @Trace(operationName = "M4-约定字段：父、中、子周期")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementCalcReceiveFieldRespDto implementCalcReceiveField(ImplementCalcReceiveFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementCalcReceiveFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M4约定系统当前时间
     * desc:undefined
     * gen by moon at 6/23/2024, 2:34:26 AM
     **/
    @Trace(operationName = "M4约定系统当前时间")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementCalcReceivingField003RespDto implementCalcReceivingField003(ImplementCalcReceivingField003ReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementCalcReceivingField003RespDto.class);
    }

    /**
     * code:receptionService
     * name:M4约定归属或更新最新字段值
     * desc:undefined
     * gen by moon at 7/3/2024, 1:03:32 AM
     **/
    @Trace(operationName = "M4约定归属或更新最新字段值")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementCalcReceivingField006RespDto implementCalcReceivingField006(ImplementCalcReceivingField006ReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementCalcReceivingField006RespDto.class);
    }
    //手工接入方法
}
